package cn.glow.readingcloud.homepage.pojo;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author Glow
 * @Date 2023-04-23 14:41:08
 * @Description
 * @Version 1.0
 */
@Data
public class HotSearchWord implements Serializable {

    private static final Long serialVersionUID = 1L;
    @TableField
    private Integer id;

    /**
     * 搜索密度
     */
    private Integer frequency;
    /**
     * 名称
     */
    private String name;
    /**
     * 创建时间
     */
    @TableField( value = "create_time",fill = FieldFill.INSERT,updateStrategy = FieldStrategy.NEVER)
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

}
